﻿using System.Collections.Generic;

namespace Sidvall.Office
{
	public interface IWorksheetCollection : IEnumerable<IWorksheet>
	{
		int Count { get; }

		IWorksheet this[int index] { get; }
		IWorksheet this[string name] { get; }

		IWorksheet Add(string name);
		void Clear();
		bool Contains(IWorksheet item);
		bool Exists(string name);
		int IndexOf(IWorksheet item);
		bool Remove(string name);
		void RemoveAt(int index);
	}
}
